package com.yida.gwj.config.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 计算标准对象 common_calculate_type
 *
 * @author lqq
 * @date 2022-12-13
 */
public class GwjConfCalculateTypeDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 计算标准ID
	 */
	private Long calculateTypeId;

	/**
	 * 名称
	 */
	private String name;
	/**
	 * 开始时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date startTime;

	public void setCalculateTypeId(Long calculateTypeId) {
		this.calculateTypeId = calculateTypeId;
	}

	public Long getCalculateTypeId() {
		return calculateTypeId;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("calculateTypeId", getCalculateTypeId())
				.append("name", getName())
				.append("startTime", getStartTime())
				.toString();
	}
}
